home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_10.lha / 7_10 / qt_splice.c < prev    next >
Text File  |  1993-08-08  |  515b  |  15 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <process.h>
  6. include <debug.h>    /* DELETE */
  7.  
  8. * this qtail is supposed to be downstream from the qhead old_head */
  9. oid queue_tail::splice(queue_head* old_head)
  10.  
  11.    if (debug) /*DELETE*/ cerr << "qtail" << this << "::splice(" << old_head << ")\n";
  12.    old_head->splice(this);
  13.    if (debug) /*DELETE*/ cerr << "<<<< qtail" << this << "::splice(" << old_head << ")\n";
  14.  
  15.